<div class="menu">
  <%=render :partial => 'login'%> |
  <% if logged_in? %>
    <%=link_to 'Edit', :action => 'edit', :id => @page%> |
  <% end %>
  <%=link_to 'Back', :action => 'list' %>
</div>

<%=render :partial => 'content'%>